From 9761a966d8ffda724226a21022a42ce40932b443 Mon Sep 17 00:00:00 2001 From: Lars Uebernickel Date: Wed, 30 Oct 2013 23:34:50 -0700 Subject: [PATCH] GtkEntryCompletion: call setter for "text-column" Call gtk_entry_completion_set_text_column() when setting the "text-column" property directly. The completion appeared empty when setting "text-column" directly (for example from a GtkBuilder file), because the setter creates and adds the GtkCellRendererText. https://bugzilla.gnome.org/show_bug.cgi?id=710533 --- gtk/gtkentrycompletion.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk/gtkentrycompletion.c b/gtk/gtkentrycompletion.c index b62f81d134..0d77663970 100644 --- a/gtk/gtkentrycompletion.c +++ b/gtk/gtkentrycompletion.c @@ -653,7 +653,8 @@ gtk_entry_completion_set_property (GObject *object, break; case PROP_TEXT_COLUMN: - priv->text_column = g_value_get_int (value); + gtk_entry_completion_set_text_column (completion, + g_value_get_int (value)); break; case PROP_INLINE_COMPLETION: -- 2.30.2